projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13e8c3d
)
(compilation-set-window-height): Use save-excursion to protect against misplaced...
author
Daniel Pfeiffer
<occitan@esperanto.org>
Wed, 12 May 2004 18:45:08 +0000
(18:45 +0000)
committer
Daniel Pfeiffer
<occitan@esperanto.org>
Wed, 12 May 2004 18:45:08 +0000
(18:45 +0000)
lisp/progmodes/compile.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/compile.el
b/lisp/progmodes/compile.el
index 45705fc37bc05e89ab3c313a4a71613d4851822c..b22639f03509fdecc170b70b1d32ce66c8ba6f68 100644
(file)
--- a/
lisp/progmodes/compile.el
+++ b/
lisp/progmodes/compile.el
@@
-990,8
+990,9
@@
exited abnormally with code %d\n"
;; buffer, which might not be the same as the selected window's buffer.
(save-current-buffer
(save-selected-window
- (select-window window)
- (enlarge-window (- height (window-height))))))))
+ (save-excursion
+ (select-window window)
+ (enlarge-window (- height (window-height)))))))))
(defvar compilation-menu-map
(let ((map (make-sparse-keymap "Errors")))